package com.ssy.lingxi.contract.esign.response;

import lombok.Data;

import java.util.List;

@Data
public class WordsPositionSearchResponse {


    /**
     * 文档id
     */
    private String fileId;
    /**
     * 关键字
     */
    private String keyword;
    /**
     * 位置列表
     */
    private List<Position> positionList;

    @Data
    public static class Position {

        /**
         * 页码
         */
        private Integer pageIndex;
        /**
         * 操作日志id
         */
        private List<Coordinate> coordinateList;

        @Data
        public static class Coordinate {
            /**
             * x坐标
             */
            private Float posx;
            /**
             * y坐标
             */
            private Float posy;
        }
    }
}
